MercadoPago\Woocommerce\Gateways\PixGateway A

Total Complexity 59
Dependencies 10
Dependents 1
Total lines 701
Lines of code 428
Logical lines of code 165
Comment lines 123
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
renderOrderReceivedTemplate()
A
47 7 36
renderThankYouPage()
S
45 4 43
proccessPaymentInternal()
S
53 5 21
generatePixImage()
S
58 5 18
sellerWithPixFields()
S
42 1 60
fetchPaymentData()
S
57 4 15
verifyPixPaymentResponse()
S
52 3 25
sellerWithoutPixFields()
S
49 2 33
handlePaymentStatus()
S
62 3 13
handleApprovedPayment()
S
58 2 16
registerPixPoolingScript()
S
60 2 14
__construct()
S
50 1 28
checkPixPaymentStatus()
S
61 2 12
getPaymentFieldsParams()
S
56 1 18
formFields()
S
74 2 5
validateNonce()
S
67 2 7
getOrderFromRequest()
S
65 2 9
getPaymentIdFromOrder()
S
66 2 8
getCheckoutName()
S
82 1 3
formFieldsMainSection()
S
81 1 3
sellerHavePix()
S
80 1 3
payment_fields()
S
73 1 6
isAvailable()
S
76 1 4
registerApprovedPaymentStyles()
S
73 1 6
renderPixPaymentApprovedTemplate()
S
66 1 10
handlePendingPayment()
S
71 1 6
handleOtherStatus()
S
71 1 6